<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>fiddler</title>
</head>

<body>
    <button onclick="login()">登录</button>
    <img src="./images/01.jpg" alt="加载失败" title="01.jpg">


</body>
<script src="./ajax.js"></script>
<script>
    // 浏览器shift+F5 去缓存刷新
    async function login() {
        let response = await ajax('http://127.0.0.1:7777/js/userInfo?name=test')
        // let response =await ajax('http://127.0.0.1:7788/data.js')
        console.log(response)
    }
</script>

</html>